/**
 * v-tabs
 * @property {Number} modelValue 选中的下标
 * @property {Array} tabs tabs 列表
 * @property {String} bgColor = '#fff' 背景颜色
 * @property {String} color = '#333' 默认颜色
 * @property {String} activeColor = '#2979ff' 选中文字颜色
 * @property {String} fontSize = '28rpx' 默认文字大小
 * @property {String} activeFontSize = '28rpx' 选中文字大小
 * @property {Boolean} bold = [true | false] 选中文字是否加粗
 * @property {Boolean} scroll = [true | false] 是否滚动
 * @property {String} height = '60rpx' tab 的高度
 * @property {String} lineHeight = '10rpx' 下划线的高度
 * @property {String} lineColor = '#2979ff' 下划线的颜色
 * @property {Number} lineScale = 0.5 下划线的宽度缩放比例
 * @property {String} lineRadius = '10rpx' 下划线圆角
 * @property {Boolean} pills = [true | false] 是否胶囊样式
 * @property {String} pillsColor = '#2979ff' 胶囊背景色
 * @property {String} pillsBorderRadius = '10rpx' 胶囊圆角大小
 * @property {String} field 如果是对象，显示的键名
 * @property {Boolean} fixed = [true | false] 是否固定
 * @property {String} paddingItem = '0 22rpx' 选项的边距
 * @property {Boolean} lineAnimation = [true | false] 下划线是否有动画
 *
 * @event {Function(current)} change 改变标签触发
 */


export const tabsProps = {
	modelValue: {
		type: Number,
		default: 0
	},
	tabs: {
		type: Array,
		default () {
			return []
		}
	},
	bgColor: {
		type: String,
		default: '#fff'
	},
	padding: {
		type: String,
		default: '0'
	},
	color: {
		type: String,
		default: '#333'
	},
	activeColor: {
		type: String,
		default: '#2979ff'
	},
	fontSize: {
		type: String,
		default: '28rpx'
	},
	activeFontSize: {
		type: String,
		default: '32rpx'
	},
	bold: {
		type: Boolean,
		default: true
	},
	scroll: {
		type: Boolean,
		default: true
	},
	height: {
		type: String,
		default: '70rpx'
	},
	lineColor: {
		type: String,
		default: '#2979ff'
	},
	lineHeight: {
		type: String,
		default: '10rpx'
	},
	lineScale: {
		type: Number,
		default: 0.5
	},
	lineRadius: {
		type: String,
		default: '10rpx'
	},
	pills: {
		type: Boolean,
		default: false
	},
	pillsColor: {
		type: String,
		default: '#2979ff'
	},
	pillsBorderRadius: {
		type: String,
		default: '10rpx'
	},
	field: {
		type: String,
		default: ''
	},
	fixed: {
		type: Boolean,
		default: false
	},
	paddingItem: {
		type: String,
		default: '0 22rpx'
	},
	lineAnimation: {
		type: Boolean,
		default: true
	}
}